c0354a44fd16fb42ea8c33d0ffabe86f78e73e54,juddi-examples/more-uddi-samples/src/main/java/org/apache/juddi/samples/WadlImport.java,WadlImport,Fire,#String#String#String#,65
Before Change
// create a manager and read the config in the archive;
// you can use your config file name
UDDIClient clerkManager = new UDDIClient("META-INF/simple-publish-uddi.xml");
Transport transport = clerkManager.getTransport();
// Now you create a reference to the UDDI API
security = transport.getUDDISecurityService();
publish = transport.getUDDIPublishService();
After Change
public void Fire(String pathOrURL, String businessKey, String token, Transport transport) throws Exception {
if (transport == null) {
// create a manager and read the config in the archive;
// you can use your config file name
UDDIClient clerkManager = new UDDIClient("META-INF/simple-publish-uddi.xml");
transport = clerkManager.getTransport();
}
// Now you create a reference to the UDDI API
security = transport.getUDDISecurityService();